<div class="zs-body" data-ng-init="formInit('gzreceiveview', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{jjdj:1,cjsj:1},
        queryObject:{sfqr:'0'}
    }) && initReceiveLoadData();setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">行政管理</a>
            <i class="right-arr"></i>
            <a href="javascript:;">公文签批</a>
        </div>
        <div class="option">
            <input type="button" class="zs-btn orange" value="查看" 
                ng-click="readReceive('gzreceiveview', gzreceiveview.sRows[0]);"/>
           <!-- <input type="button" class="zs-btn orange" value="确认 "
                ng-click="delEntitys('gzreceiveview')"/>-->
        </div>
    </div>
    <div class="zs-content" style="position:unset" data-ng-init="setTab('receivemenu', 'wd')">
        <div class="zs-nice-tab idTabs">
        	<div class="link item">
    			<!--<a class="selected">未读</a>
    			<a >已读</a>-->
    			<a class="{{tabs['receivemenu'].tabClass['wd']}} tips" title="未读"
                   ng-click="loadReceiveData('gzreceiveview','0','wd')">
                    <span>未读</span>
                </a>
                <a class="{{tabs['receivemenu'].tabClass['yd']}} tips" title="已读"
                   ng-click="loadReceiveData('gzreceiveview','1','yd')">
                    <span>已读</span>
                </a>
    		</div>
			<div class="tool item" style="margin-left:6px;">
            	
            	<span class="search-warpper" style="width: 160px;">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="发文主题" ng-model="gzreceiveview.queryObject['fwzt:like']"/>
                </span>

                <span class="search-warpper"  style="width: 160px;">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="发件人" ng-model="gzreceiveview.queryObject['cjrmc:like']"/>
                </span>
                <span class="search-warpper" style="width: 65px;">紧急等级
				</span>
				<span class="search-warpper" style="width: 160px;">
					<ag-Combobox style="width:150px;height:28px;"
                        para="{	uDictionary:true,
                        		editable:true,
                        		dictionary:'p_jjdj'}"
                        ng-model="gzreceiveview.queryObject['jjdj:=']"
                        text-Value="o"/>
				</span>
                <span class="search-warpper" style="width: 65px;">发件时间
                 </span>
            	<span class="search-warpper"  style="width: 160px;">
                   <ag-Datebox 
                		class="zs-input" style="width:155px;height: 28px"
                		ng-model="gzreceiveview.queryObject['cjsj:>=']" >
			   		</ag-Datebox>
               </span>-
                <span class="search-warpper"  style="width: 160px;">
                   <ag-Datebox 
                		class="zs-input" style="width:155px;height: 28px"
                		ng-model="gzreceiveview.queryObject['cjsj:<=']" >
			   		</ag-Datebox>
                </span>
            	
            </div>
            <div class="operation item" style="margin-top:7px;">
            	<input type="button" class="zs-btn orange" value="查询" 
            		ng-click="loadData('gzreceiveview')"/>
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        <!--<input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gzreceiveview','allCheckbox');" />-->
                                    </th>
									<!--<th>ID</th>-->
									<th>发文主题</th>
									<th>来文摘要</th>
								<!--	<th>创建人ID</th>-->
									<th>创建人名称</th>
									<th>创建时间</th>
									<!--<th>附件</th>
									<th>发文ID</th>
									<th>接收人ID</th>
									<th>接收人名称</th>-->
									<th>是否已读</th>
									<th>阅读时间</th>
									<!--<th>是否已确认</th>-->
									<!--<th>接收人机构</th>-->
									<th>紧急等级</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gzreceiveview.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gzreceiveview',r,true);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  ID -->
            						<!--<td>
                                        <a ng-click="confirmReceive('gzreceiveview', r)">
                                            <label ng-bind="r.id"></label>
                                        </a>
                                   </td>-->
									<!--  发文主题 -->
            						<td>
                                        <a ng-click="readReceive('gzreceiveview', r);" title="{{r.fwzt}}">
                                            <label ng-bind="r.fwzt | asULength"></label>
                                        </a>
                                   </td>
									<!--  来文摘要 -->
            						<td>
                                        <a ng-click="readReceive('gzreceiveview', r);" title="{{r.fwsm}}">
                                            <label ng-bind="r.fwsm | asULength"></label>
                                        </a>
                                   </td>
									<!--  创建人ID -->
            						<!--<td>
                                        <a ng-click="confirmReceive('gzreceiveview', r)">
                                            <label ng-bind="r.cjrid"></label>
                                        </a>
                                   </td>-->
									<!--  创建人名称 -->
            						<td>
                                        <a ng-click="readReceive('gzreceiveview',r);">
                                            <label ng-bind="r.cjrmc"></label>
                                        </a>
                                   </td>
									<!--  创建时间 -->
								   <td>
                                        <a ng-click="readReceive('gzreceiveview', r);">
                                            <label ng-bind="r.cjsj | asFormateDateTime | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  是否已读 -->
            						<td>
                                        <a ng-click="readReceive('gzreceiveview', r);">
                                            <label ng-bind="r.sfqrName | asChBool"></label>
                                        </a>
                                   </td>
									<!--  阅读时间 -->
								   <td>
                                        <a ng-click="readReceive('gzreceiveview', r);">
                                            <label ng-bind="r.ydsj | asFormateDateTime | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
                                   <td>
										<a ng-click="readReceive('gzreceiveview', r);">
											<label ng-bind="r.jjdjName"></label>
										</a>
									</td>
									<!--  是否已确认 -->
            						<!--<td>
                                        <a ng-click="confirmReceive('gzreceiveview', r)">
                                            <label ng-bind="r.sfqr"></label>
                                        </a>
                                   </td>-->
									<!--  接收人机构 -->
            						<!--<td>
                                        <a ng-click="confirmReceive('gzreceiveview', r)">
                                            <label ng-bind="r.jsrjg"></label>
                                        </a>
                                   </td>-->
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gzreceiveview'></ag-Page>
                </div>
            </div>
        </div>
         <div ag-Window id="edit" title="公文签批" width='760px' height='560px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>

          					<tr>
                                <td class="text" width="20%">发文主题</td>
                                <td class="left" width="30%" colspan="3">
                                	<textarea type="text" style="width:95%;height:100px" 
                                		ng-model="gzreceiveview.editRow.fwzt" readonly="true"
                                		class="zs-input" ></textarea>
                                </td>
                                
                            </tr>
                             <tr>
                            	<td class="text" width="20%">来文摘要</td>
                                <td class="left" width="30%" colspan="3">
                            		<textarea type="text" style="width:95%;height:100px"  readonly="true"
                            			ng-model="gzreceiveview.editRow.fwsm" class="zs-input" />
                               </td>
                            </tr>
                            
          					<tr>
                                <td class="text" width="20%">创建人名称</td>
                                <td class="left" width="30%">
                                	<!--<input type="text" ng-model="gzpublishfile.editRow.cjrmc" 
                                		class="zs-input" style="width:75%;"/>-->
                                		
                                		<label ng-bind="gzreceiveview.editRow.cjrmc"></label>
                                </td>
                 <!--           </tr>
						   <tr>-->
                                <td class="text" width="20%">创建时间</td>
                                <td class="left" width="30%">
                                <!--	<ag-Datebox id='fi_cjsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzpublishfile.editRow.cjsj" >
							   		</ag-Datebox>-->
							   		
							   		<label ng-bind="gzreceiveview.editRow.cjsj | asDate | date:'yyyy-MM-dd'"></label>
                                </td>
                            </tr>
          					<tr>
          						<td class="text" width="20%">部门名称</td>
                                <td class="left" width="30%">
                                	<!--<ag-Combotree class="zs-input" style="width:154px;height: 28px" 
											fn='dptidEdit'
											para="{ uDictionary:true,
													dictionary:'p_department',
													pidField:'pid',
		                    						leafField:'leaf'}"
											ng-model="gzpublishfile.editRow.bmmc"
											text-Value="gzpublishfile.editRow.bmmcName"/>-->
											<label ng-bind="gzreceiveview.editRow.bmmcName"></label>
                                	
                                </td>
                                
                                <td class="text" width="20%">附件</td>
                                <td class="left" width="30%">
                                	
				                    
				                    <ag-Upload ng-model="gzreceiveview.editRow.fj" para="{}" readOnly="true" ></ag-Upload>
                                	
                                </td>
                            </tr>
                            <tr>
                            	<td class="text" width="20%">是否已读</td>
                                <td class="left" width="30%">
                            
									<label ng-bind="gzreceiveview.editRow.sfqrName | asChBool"></label>
                                	
                                </td>
                                
          						<td class="text" width="20%">阅读时间</td>
                                <td class="left" width="30%">
                            
									<label ng-bind="gzreceiveview.editRow.ydsj | asDate | date:'yyyy-MM-dd'"></label>
                                	
                                </td>
                                
                               
                            </tr>
                        </tbody>
                     
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                	<div style="text-align:center">
	                                    <input type="button" name="ok" value="关闭" class="zs-btn c-green" 
	                                        ng-click="closeWindow('edit')" />
                                    </div>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>